<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        .wai{
            background-image: url(./2.jpg);
            width: 1600px;
            height: 1000px;
            text-align: center;
            margin: 0 auto;
        }
        /* 大外边框 */
        .deng{
            padding-top: 50px;
            color: pink;
            margin-left: -80px;
        }
        /* 大登录 */
        .di1{
            color: white;
            border: 1px solid springgreen;
            width: 300px;
            height: 350px;
            float: left;
            border: none;
            border-right:1px solid salmon;
            background-color: white;
            opacity: 60%;
            margin: 200px 600px;
        }
        /* 小登录页面 */
        .di2{
            color: white;
            width: 300px;
            height: 350px;
            margin-left:300px;
            text-align: left;
            float: left;
            margin-top: -307px;
            border: none;
            border-left: 2px solid red;
            background-color: white;
        }
        /* 第二个边框 */
        /* 第二个边框删除 */
        .bai{
            width: 250px;
            height: 30px;
            border: none;
            border-bottom: 2px solid black;
            margin-top: 1px;
            margin-left: 20px;
        }
        /* 输入框 */
        .cen{
            width: 100px;
            height: 30px;
            border-radius: 10px;
            margin-left: 20px;
        }
        /* 免费注册框 */
        .li{
            margin-left: 20px;
        }
        /* 往右走 */
        a:link{
            text-decoration: none;
            margin-left: 20px;
            color: salmon;
        }
        /* 伪类超链接改颜色 */
        .jj{
            color: black;
        }
    </style>
</head>
<body>
    <div class="wai">
    <h1 class="deng">登录菜单</h1>
    <div class="di1">
        <div>
            <p>&nbsp;&nbsp;登录<br><br>
            <div>
            <input type="text" class="bai" placeholder="用户名" id="re">
            </div>
             <br><br>
            <input type="text" class="bai" placeholder="密码">
            <br><br>
            </p>
            <span class="li">
                <input type="checkbox"><p class="jj">记住我</p>
            </span>
            <br><br>
            <input type="button" value="登录" class="cen">
            <br>
            <a href="#" class="chao">记住密码？</a>
        </p>
    </div>
    <div class="di2">
        <div>
            <p>&nbsp;&nbsp;&nbsp;注册<br><br>
            <input type="text" class="bai" placeholder="用户名">
             <br><br>
            <input type="text" class="bai" placeholder="邮箱">
            <br><br>
            <input type="text" class="bai" placeholder="密码">
            <br><br>
            <input type="text" class="bai" placeholder="手机号码">
            <br><br>
            </p>
            <span class="li">
                <input type="checkbox"> <p class="jj">记住我</p>
            </span>
            <input type="button" value="免费注册" class="cen">
            <br>
        </p>
    </div>
    </div>
</body>
</html>